/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：03/02/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.yfwaring.entity;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;
 /**
 * 
 * Description:YfWarning实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060    <br />
 * 
 * History: <br />
 * 
 * 03/02/2012 
 * 
 */
@Entity
@Table(name="yf_warning")
public class YfWarning implements IBaseBean
{

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;
	
	public YfWarning(){
  
	}

			        @Id
			@Column(name="id")
	private String id;  //$field.label
        
        		@Column(name="buss_id")
	private String bussId;  //$field.label
        
        		@Column(name="buss_type")
	private Long bussType;  //$field.label
        
        		@Column(name="belong")
	private String belong;  //$field.label
        
        		@Column(name="workitem_id")
	private String workitemId;  //$field.label
        
        		@Column(name="warn_type")
	private Long warnType;  //$field.label
        
        		@Column(name="title")
	private String title;  //$field.label
        
        		@Column(name="complete_time")
	private Date completeTime;  //$field.label
        
        		@Column(name="operateid")
	private String operateid;  //$field.label
        
        		@Column(name="create_date")
	private Date createDate;  //$field.label
        
        
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Id.
	 */
	public String getId(){
		return this.id;
	}
	
	/**
	 * @param id Set the id.
	 */	
	public void setId(String id){
		this.id = id;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the BussId.
	 */
	public String getBussId(){
		return this.bussId;
	}
	
	/**
	 * @param bussId Set the bussId.
	 */	
	public void setBussId(String bussId){
		this.bussId = bussId;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the BussType.
	 */
	public Long getBussType(){
		return this.bussType;
	}
	
	/**
	 * @param bussType Set the bussType.
	 */	
	public void setBussType(Long bussType){
		this.bussType = bussType;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Belong.
	 */
	public String getBelong(){
		return this.belong;
	}
	
	/**
	 * @param belong Set the belong.
	 */	
	public void setBelong(String belong){
		this.belong = belong;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the WorkitemId.
	 */
	public String getWorkitemId(){
		return this.workitemId;
	}
	
	/**
	 * @param workitemId Set the workitemId.
	 */	
	public void setWorkitemId(String workitemId){
		this.workitemId = workitemId;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the WarnType.
	 */
	public Long getWarnType(){
		return this.warnType;
	}
	
	/**
	 * @param warnType Set the warnType.
	 */	
	public void setWarnType(Long warnType){
		this.warnType = warnType;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Title.
	 */
	public String getTitle(){
		return this.title;
	}
	
	/**
	 * @param title Set the title.
	 */	
	public void setTitle(String title){
		this.title = title;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the CompleteTime.
	 */
	public Date getCompleteTime(){
		return this.completeTime;
	}
	
	/**
	 * @param completeTime Set the completeTime.
	 */	
	public void setCompleteTime(Date completeTime){
		this.completeTime = completeTime;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the Operateid.
	 */
	public String getOperateid(){
		return this.operateid;
	}
	
	/**
	 * @param operateid Set the operateid.
	 */	
	public void setOperateid(String operateid){
		this.operateid = operateid;
	}
		
        	/**
	 * ${field.getLabel()}
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate(){
		return this.createDate;
	}
	
	/**
	 * @param createDate Set the createDate.
	 */	
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
		
                public String toString(){
		return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
}
